home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
pressgen
/
lwprnt.txt
< prev
next >
Wrap
Text File
|
1993-05-24
|
2KB
|
58 lines
This document describes the printing options available with LAN
WorkPlace for DOS.
The two types of printing described below are:
- Printing from Unix to a local/Netware printer.
- Printing from DOS to a Unix printer.
1. Printing from Unix to a local/Netware printer.
Host Presenter has several options for printing. You can use the
FILE-PRINT option off the main menu to print screens, the scroll
buffer, a selected area, or continuously as data is displayed on the
screen. The "bypass printer driver" setting can be used to avoid
having the Window's print drivers filter out printer control codes.
Both Host Presenter and TNVT220 support the DEC VT220 and VT100
printer escape sequences. These allow you to print thru the telnet
session, without displaying the data on the screen. The following
Unix script can be used for this purpose:
echo "printing $1..."
echo "\033[5i"
cat $1
echo "\033[4i"
For Host Presenter, this will print to the default printer. For
TNVT220, it will use the printer specified under setup (alt-s).
Currently the above commands do not work for TNVT220 in VT100 mode. A
workaround is to switch to VT220 mode prior to printing, and to
switch back to VT100 mode afterwards. This can be done with the
following commands:
echo "\033[62\042p"
<script shown above>
echo "\033[61\042p"
2. Printing from DOS to a Unix printer.
The RPR/LPR utilities can be used to print files from DOS to a Unix
printer. However, these utilities do not allow you to redirect
printer ports (eg. LPT1) directly to Unix printers.
If you have the NFS client for LAN WorkPlace, you can redirect
your printer ports to Unix printers.
You can also accomplish this indirectly with Netware NFS or Flex/IP.
A Netware print queue is created for the Unix printer, and the PC
printer port is redirected to the Netware print queue using the
"capture" command.